/**
 * Copyright (C), 2020, Y2 T205
 * FileName: ProductFeignService
 * Author: Lenovo
 * Date: 2020-05-28 15:05
 * Description:
 * History:
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */


package com.atguigu.gulimall.order.feign;


import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author Lenovo
 * @create 2020-05-28
 * @since 1.0.0
 */
@FeignClient("gulimall-product")
public interface ProductFeignService {

    /*根据skuid获取spu的信息*/
    @GetMapping("/product/spuinfo/skuId/{id}")
    R getSpuInfoBySkuId(@PathVariable("id")  Long skuId);

}
